/**
 * @Author: zkz
 * @CreateTime: 2025-09-15 10:50:29
 * @Description: token相关的工具函数
 */
    const TOKENKEY = 'token_key';
    // 存储token
    function setToken(token) {
        localStorage.setItem(TOKENKEY, token);
    }

    // 获取token
    function getToken() {
        return localStorage.getItem(TOKENKEY);
    }

    // 删除token
    function removeToken() {
        localStorage.removeItem(TOKENKEY);
    }

    export {setToken, getToken, removeToken};

